﻿@{
    ViewBag.Title = "_agreeRepayList";
}
@using QDT.Core
@model QDT.Core.Projects.RepaymentScheme
  <table class="table table-responsive pvepi-repayment-plan touch-hook-repayment">
                    <thead>
                        <tr>
                            <th>还款日</th>
                            <th>还款金额(元)</th>
                            <th class="text-right">还款类型</th>
                           
                        </tr>
                    </thead>
                    <tbody>
                        
                        @foreach (var m in Model.Stages)
                    {
                        <tr>
                            <td>@m.Time.ToString("yyyy-MM-dd")</td>
                            <td>@m.Ammount.ToMoney()</td>
                            <td class="text-right">
                                @switch (m.RepayType)
                                {
                                    case 1:
                                        <span>利息</span>
                                        break;
                                    case 2:
                                        <span>本金</span>
                                        break;
                                    case 3:
                                        <span>本金和利息</span>
                                        break;
                                }
                            </td>
                        </tr>     
                    }
                    </tbody>
                </table>

   